<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{log_name} : {log_account_no}</title>
<link rel="shortcut icon" href="{dir_image}favicon.ico">
<link rel="stylesheet" type="text/css" href="{dir_css}Global.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Popup.css" />
<link rel="stylesheet" type="text/css" href="{dir_css}Administrator.css" />

<script type="text/javascript" src="{dir_js}jquery.min.js"></script>
<script type="text/javascript" src="{dir_js}Global.js"></script>
<script type="text/javascript">
		<!--
		$(document).ready(function() {
			
			searchBox('searchBox');
			
			$('#searchButton').click(function() {
					$('#search_form').submit();
			});
			
		});	
		
		function popupDelete(strID) {
			$('#delete_button_'+strID).show();
		}
		
		function popupDeleteHide(strID) {
			$('#delete_button_'+strID).hide();
		}
		
		function deleteAccount(strID) {
			$.post('request.php?request=iFrame', {AJAXPost:'deleteAccount', userID:strID}, function() {
				window.location.href = window.location.href;
			});
		}
		
		//-->
	</script>

</head>

<body>
<!-- POPUP -->{page_popup}<!-- POPUP END -->
<!-- TOP HEADER -->{page_header}<!-- TOP HEADER END -->
	<div class="main-content">
	
		<form method="get" enctype="multipart/form-data" action="" id="search_form">
			<div class="search-image-design">
				<div class="search-image-design-label">Users Account:</div>
				<div class="search-image-design-first"></div>
				<div class="search-image-design-middle"><input type="text" name="search" id="searchBox" class="text-search login-color-aaa" value="{search}"/></div>
				<div class="search-image-design-end" id="searchButton"></div>
				<div class="search-image-design-results">{results}</div>
				<div class="registration-button" onclick="popupRequest('show', 'NewAccount', 'Create New Account', '465', '500', '');">
					+ CREATE NEW ACCOUNT
				</div>
			</div>
		</form>
		
		<table width="975" border="0" cellspacing="0" cellpadding="0">
			<tr class="tr-header">
				<td width="70" class="td-label">&nbsp;</td>
				<td width="25" class="td-label">&nbsp;</td>
				<td width="105" class="td-label">Account #</td>
				<td width="300" class="td-label">Name</td>
				<td width="265" class="td-label">E-mail Address</td>
				<td width="125" class="td-label">Account Type</td>
				<td width="75" class="td-label">Status</td>
			</tr>
			<!-- BEGIN accounts -->
				<tr {bgcolor} class="hover-light">
					<td class="td-record">{ed_button}</td>
					<td class="td-record"><strong>{numbering}.</strong></td>
					<td class="td-record">{account_no}</td>
					<td class="td-record">{name}</td>
					<td class="td-record">{email}</td>
					<td class="td-record">{account_type}</td>
					<td class="td-record"><img src="{dir_image}{is_deleted}.png" border="0" /></td>
				</tr>
			<!-- END accounts -->
			
			<tr><td colspan="7" height="5"></td></tr>
			<tr>
				<td colspan="4" height="50"></td>
				<td colspan="3" align="right">{pagination}</td>
			</tr>
		</table>
	</div>
<!-- FOOTER -->{page_footer}<!-- FOOTER -->
</body>
</html>
